package gamestate;

import java.awt.Graphics2D;
import user.User;

public abstract class State 
{
	private StateStack ss;
	private User user;
	
	public abstract void update(double duration);
	public abstract void render(Graphics2D g);

	public State(StateStack s, User u)
	{
		ss = s;
		user = u;
	}
	
	public StateStack getStack()
	{
		return ss;
	}
	protected User getUser()
	{
		return user;
	}
}
